package com.base.po.voip;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SelfShopExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SelfShopExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andParentidIsNull() {
            addCriterion("ParentID is null");
            return (Criteria) this;
        }

        public Criteria andParentidIsNotNull() {
            addCriterion("ParentID is not null");
            return (Criteria) this;
        }

        public Criteria andParentidEqualTo(String value) {
            addCriterion("ParentID =", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotEqualTo(String value) {
            addCriterion("ParentID <>", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThan(String value) {
            addCriterion("ParentID >", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThanOrEqualTo(String value) {
            addCriterion("ParentID >=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThan(String value) {
            addCriterion("ParentID <", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThanOrEqualTo(String value) {
            addCriterion("ParentID <=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLike(String value) {
            addCriterion("ParentID like", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotLike(String value) {
            addCriterion("ParentID not like", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidIn(List<String> values) {
            addCriterion("ParentID in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotIn(List<String> values) {
            addCriterion("ParentID not in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidBetween(String value1, String value2) {
            addCriterion("ParentID between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotBetween(String value1, String value2) {
            addCriterion("ParentID not between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andShopidIsNull() {
            addCriterion("ShopID is null");
            return (Criteria) this;
        }

        public Criteria andShopidIsNotNull() {
            addCriterion("ShopID is not null");
            return (Criteria) this;
        }

        public Criteria andShopidEqualTo(String value) {
            addCriterion("ShopID =", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidNotEqualTo(String value) {
            addCriterion("ShopID <>", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidGreaterThan(String value) {
            addCriterion("ShopID >", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidGreaterThanOrEqualTo(String value) {
            addCriterion("ShopID >=", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidLessThan(String value) {
            addCriterion("ShopID <", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidLessThanOrEqualTo(String value) {
            addCriterion("ShopID <=", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidLike(String value) {
            addCriterion("ShopID like", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidNotLike(String value) {
            addCriterion("ShopID not like", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidIn(List<String> values) {
            addCriterion("ShopID in", values, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidNotIn(List<String> values) {
            addCriterion("ShopID not in", values, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidBetween(String value1, String value2) {
            addCriterion("ShopID between", value1, value2, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidNotBetween(String value1, String value2) {
            addCriterion("ShopID not between", value1, value2, "shopid");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andShopnameIsNull() {
            addCriterion("ShopName is null");
            return (Criteria) this;
        }

        public Criteria andShopnameIsNotNull() {
            addCriterion("ShopName is not null");
            return (Criteria) this;
        }

        public Criteria andShopnameEqualTo(String value) {
            addCriterion("ShopName =", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameNotEqualTo(String value) {
            addCriterion("ShopName <>", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameGreaterThan(String value) {
            addCriterion("ShopName >", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameGreaterThanOrEqualTo(String value) {
            addCriterion("ShopName >=", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameLessThan(String value) {
            addCriterion("ShopName <", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameLessThanOrEqualTo(String value) {
            addCriterion("ShopName <=", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameLike(String value) {
            addCriterion("ShopName like", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameNotLike(String value) {
            addCriterion("ShopName not like", value, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameIn(List<String> values) {
            addCriterion("ShopName in", values, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameNotIn(List<String> values) {
            addCriterion("ShopName not in", values, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameBetween(String value1, String value2) {
            addCriterion("ShopName between", value1, value2, "shopname");
            return (Criteria) this;
        }

        public Criteria andShopnameNotBetween(String value1, String value2) {
            addCriterion("ShopName not between", value1, value2, "shopname");
            return (Criteria) this;
        }

        public Criteria andShoplogoIsNull() {
            addCriterion("ShopLogo is null");
            return (Criteria) this;
        }

        public Criteria andShoplogoIsNotNull() {
            addCriterion("ShopLogo is not null");
            return (Criteria) this;
        }

        public Criteria andShoplogoEqualTo(String value) {
            addCriterion("ShopLogo =", value, "shoplogo");
            return (Criteria) this;
        }

        public Criteria andShoplogoNotEqualTo(String value) {
            addCriterion("ShopLogo <>", value, "shoplogo");
            return (Criteria) this;
        }

        public Criteria andShoplogoGreaterThan(String value) {
            addCriterion("ShopLogo >", value, "shoplogo");
            return (Criteria) this;
        }

        public Criteria andShoplogoGreaterThanOrEqualTo(String value) {
            addCriterion("ShopLogo >=", value, "shoplogo");
            return (Criteria) this;
        }

        public Criteria andShoplogoLessThan(String value) {
            addCriterion("ShopLogo <", value, "shoplogo");
            return (Criteria) this;
        }

        public Criteria andShoplogoLessThanOrEqualTo(String value) {
            addCriterion("ShopLogo <=", value, "shoplogo");
            return (Criteria) this;
        }

        public Criteria andShoplogoLike(String value) {
            addCriterion("ShopLogo like", value, "shoplogo");
            return (Criteria) this;
        }

        public Criteria andShoplogoNotLike(String value) {
            addCriterion("ShopLogo not like", value, "shoplogo");
            return (Criteria) this;
        }

        public Criteria andShoplogoIn(List<String> values) {
            addCriterion("ShopLogo in", values, "shoplogo");
            return (Criteria) this;
        }

        public Criteria andShoplogoNotIn(List<String> values) {
            addCriterion("ShopLogo not in", values, "shoplogo");
            return (Criteria) this;
        }

        public Criteria andShoplogoBetween(String value1, String value2) {
            addCriterion("ShopLogo between", value1, value2, "shoplogo");
            return (Criteria) this;
        }

        public Criteria andShoplogoNotBetween(String value1, String value2) {
            addCriterion("ShopLogo not between", value1, value2, "shoplogo");
            return (Criteria) this;
        }

        public Criteria andShopbgIsNull() {
            addCriterion("ShopBG is null");
            return (Criteria) this;
        }

        public Criteria andShopbgIsNotNull() {
            addCriterion("ShopBG is not null");
            return (Criteria) this;
        }

        public Criteria andShopbgEqualTo(String value) {
            addCriterion("ShopBG =", value, "shopbg");
            return (Criteria) this;
        }

        public Criteria andShopbgNotEqualTo(String value) {
            addCriterion("ShopBG <>", value, "shopbg");
            return (Criteria) this;
        }

        public Criteria andShopbgGreaterThan(String value) {
            addCriterion("ShopBG >", value, "shopbg");
            return (Criteria) this;
        }

        public Criteria andShopbgGreaterThanOrEqualTo(String value) {
            addCriterion("ShopBG >=", value, "shopbg");
            return (Criteria) this;
        }

        public Criteria andShopbgLessThan(String value) {
            addCriterion("ShopBG <", value, "shopbg");
            return (Criteria) this;
        }

        public Criteria andShopbgLessThanOrEqualTo(String value) {
            addCriterion("ShopBG <=", value, "shopbg");
            return (Criteria) this;
        }

        public Criteria andShopbgLike(String value) {
            addCriterion("ShopBG like", value, "shopbg");
            return (Criteria) this;
        }

        public Criteria andShopbgNotLike(String value) {
            addCriterion("ShopBG not like", value, "shopbg");
            return (Criteria) this;
        }

        public Criteria andShopbgIn(List<String> values) {
            addCriterion("ShopBG in", values, "shopbg");
            return (Criteria) this;
        }

        public Criteria andShopbgNotIn(List<String> values) {
            addCriterion("ShopBG not in", values, "shopbg");
            return (Criteria) this;
        }

        public Criteria andShopbgBetween(String value1, String value2) {
            addCriterion("ShopBG between", value1, value2, "shopbg");
            return (Criteria) this;
        }

        public Criteria andShopbgNotBetween(String value1, String value2) {
            addCriterion("ShopBG not between", value1, value2, "shopbg");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("Address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("Address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("Address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("Address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("Address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("Address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("Address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("Address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("Address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("Address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("Address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("Address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("Address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("Address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNull() {
            addCriterion("Longitude is null");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNotNull() {
            addCriterion("Longitude is not null");
            return (Criteria) this;
        }

        public Criteria andLongitudeEqualTo(Double value) {
            addCriterion("Longitude =", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotEqualTo(Double value) {
            addCriterion("Longitude <>", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThan(Double value) {
            addCriterion("Longitude >", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThanOrEqualTo(Double value) {
            addCriterion("Longitude >=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThan(Double value) {
            addCriterion("Longitude <", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThanOrEqualTo(Double value) {
            addCriterion("Longitude <=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeIn(List<Double> values) {
            addCriterion("Longitude in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotIn(List<Double> values) {
            addCriterion("Longitude not in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeBetween(Double value1, Double value2) {
            addCriterion("Longitude between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotBetween(Double value1, Double value2) {
            addCriterion("Longitude not between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNull() {
            addCriterion("Latitude is null");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNotNull() {
            addCriterion("Latitude is not null");
            return (Criteria) this;
        }

        public Criteria andLatitudeEqualTo(Double value) {
            addCriterion("Latitude =", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotEqualTo(Double value) {
            addCriterion("Latitude <>", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThan(Double value) {
            addCriterion("Latitude >", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThanOrEqualTo(Double value) {
            addCriterion("Latitude >=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThan(Double value) {
            addCriterion("Latitude <", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThanOrEqualTo(Double value) {
            addCriterion("Latitude <=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIn(List<Double> values) {
            addCriterion("Latitude in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotIn(List<Double> values) {
            addCriterion("Latitude not in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeBetween(Double value1, Double value2) {
            addCriterion("Latitude between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotBetween(Double value1, Double value2) {
            addCriterion("Latitude not between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andContactsIsNull() {
            addCriterion("Contacts is null");
            return (Criteria) this;
        }

        public Criteria andContactsIsNotNull() {
            addCriterion("Contacts is not null");
            return (Criteria) this;
        }

        public Criteria andContactsEqualTo(String value) {
            addCriterion("Contacts =", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsNotEqualTo(String value) {
            addCriterion("Contacts <>", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsGreaterThan(String value) {
            addCriterion("Contacts >", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsGreaterThanOrEqualTo(String value) {
            addCriterion("Contacts >=", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsLessThan(String value) {
            addCriterion("Contacts <", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsLessThanOrEqualTo(String value) {
            addCriterion("Contacts <=", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsLike(String value) {
            addCriterion("Contacts like", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsNotLike(String value) {
            addCriterion("Contacts not like", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsIn(List<String> values) {
            addCriterion("Contacts in", values, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsNotIn(List<String> values) {
            addCriterion("Contacts not in", values, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsBetween(String value1, String value2) {
            addCriterion("Contacts between", value1, value2, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsNotBetween(String value1, String value2) {
            addCriterion("Contacts not between", value1, value2, "contacts");
            return (Criteria) this;
        }

        public Criteria andPhonenumIsNull() {
            addCriterion("PhoneNum is null");
            return (Criteria) this;
        }

        public Criteria andPhonenumIsNotNull() {
            addCriterion("PhoneNum is not null");
            return (Criteria) this;
        }

        public Criteria andPhonenumEqualTo(String value) {
            addCriterion("PhoneNum =", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumNotEqualTo(String value) {
            addCriterion("PhoneNum <>", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumGreaterThan(String value) {
            addCriterion("PhoneNum >", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumGreaterThanOrEqualTo(String value) {
            addCriterion("PhoneNum >=", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumLessThan(String value) {
            addCriterion("PhoneNum <", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumLessThanOrEqualTo(String value) {
            addCriterion("PhoneNum <=", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumLike(String value) {
            addCriterion("PhoneNum like", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumNotLike(String value) {
            addCriterion("PhoneNum not like", value, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumIn(List<String> values) {
            addCriterion("PhoneNum in", values, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumNotIn(List<String> values) {
            addCriterion("PhoneNum not in", values, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumBetween(String value1, String value2) {
            addCriterion("PhoneNum between", value1, value2, "phonenum");
            return (Criteria) this;
        }

        public Criteria andPhonenumNotBetween(String value1, String value2) {
            addCriterion("PhoneNum not between", value1, value2, "phonenum");
            return (Criteria) this;
        }

        public Criteria andIntroductionIsNull() {
            addCriterion("Introduction is null");
            return (Criteria) this;
        }

        public Criteria andIntroductionIsNotNull() {
            addCriterion("Introduction is not null");
            return (Criteria) this;
        }

        public Criteria andIntroductionEqualTo(String value) {
            addCriterion("Introduction =", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotEqualTo(String value) {
            addCriterion("Introduction <>", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionGreaterThan(String value) {
            addCriterion("Introduction >", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionGreaterThanOrEqualTo(String value) {
            addCriterion("Introduction >=", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionLessThan(String value) {
            addCriterion("Introduction <", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionLessThanOrEqualTo(String value) {
            addCriterion("Introduction <=", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionLike(String value) {
            addCriterion("Introduction like", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotLike(String value) {
            addCriterion("Introduction not like", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionIn(List<String> values) {
            addCriterion("Introduction in", values, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotIn(List<String> values) {
            addCriterion("Introduction not in", values, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionBetween(String value1, String value2) {
            addCriterion("Introduction between", value1, value2, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotBetween(String value1, String value2) {
            addCriterion("Introduction not between", value1, value2, "introduction");
            return (Criteria) this;
        }

        public Criteria andBusintimeIsNull() {
            addCriterion("BusinTime is null");
            return (Criteria) this;
        }

        public Criteria andBusintimeIsNotNull() {
            addCriterion("BusinTime is not null");
            return (Criteria) this;
        }

        public Criteria andBusintimeEqualTo(String value) {
            addCriterion("BusinTime =", value, "busintime");
            return (Criteria) this;
        }

        public Criteria andBusintimeNotEqualTo(String value) {
            addCriterion("BusinTime <>", value, "busintime");
            return (Criteria) this;
        }

        public Criteria andBusintimeGreaterThan(String value) {
            addCriterion("BusinTime >", value, "busintime");
            return (Criteria) this;
        }

        public Criteria andBusintimeGreaterThanOrEqualTo(String value) {
            addCriterion("BusinTime >=", value, "busintime");
            return (Criteria) this;
        }

        public Criteria andBusintimeLessThan(String value) {
            addCriterion("BusinTime <", value, "busintime");
            return (Criteria) this;
        }

        public Criteria andBusintimeLessThanOrEqualTo(String value) {
            addCriterion("BusinTime <=", value, "busintime");
            return (Criteria) this;
        }

        public Criteria andBusintimeLike(String value) {
            addCriterion("BusinTime like", value, "busintime");
            return (Criteria) this;
        }

        public Criteria andBusintimeNotLike(String value) {
            addCriterion("BusinTime not like", value, "busintime");
            return (Criteria) this;
        }

        public Criteria andBusintimeIn(List<String> values) {
            addCriterion("BusinTime in", values, "busintime");
            return (Criteria) this;
        }

        public Criteria andBusintimeNotIn(List<String> values) {
            addCriterion("BusinTime not in", values, "busintime");
            return (Criteria) this;
        }

        public Criteria andBusintimeBetween(String value1, String value2) {
            addCriterion("BusinTime between", value1, value2, "busintime");
            return (Criteria) this;
        }

        public Criteria andBusintimeNotBetween(String value1, String value2) {
            addCriterion("BusinTime not between", value1, value2, "busintime");
            return (Criteria) this;
        }

        public Criteria andDiscountIsNull() {
            addCriterion("Discount is null");
            return (Criteria) this;
        }

        public Criteria andDiscountIsNotNull() {
            addCriterion("Discount is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountEqualTo(String value) {
            addCriterion("Discount =", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotEqualTo(String value) {
            addCriterion("Discount <>", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountGreaterThan(String value) {
            addCriterion("Discount >", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountGreaterThanOrEqualTo(String value) {
            addCriterion("Discount >=", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLessThan(String value) {
            addCriterion("Discount <", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLessThanOrEqualTo(String value) {
            addCriterion("Discount <=", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLike(String value) {
            addCriterion("Discount like", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotLike(String value) {
            addCriterion("Discount not like", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountIn(List<String> values) {
            addCriterion("Discount in", values, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotIn(List<String> values) {
            addCriterion("Discount not in", values, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountBetween(String value1, String value2) {
            addCriterion("Discount between", value1, value2, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotBetween(String value1, String value2) {
            addCriterion("Discount not between", value1, value2, "discount");
            return (Criteria) this;
        }

        public Criteria andCouponcatIsNull() {
            addCriterion("CouponCAT is null");
            return (Criteria) this;
        }

        public Criteria andCouponcatIsNotNull() {
            addCriterion("CouponCAT is not null");
            return (Criteria) this;
        }

        public Criteria andCouponcatEqualTo(String value) {
            addCriterion("CouponCAT =", value, "couponcat");
            return (Criteria) this;
        }

        public Criteria andCouponcatNotEqualTo(String value) {
            addCriterion("CouponCAT <>", value, "couponcat");
            return (Criteria) this;
        }

        public Criteria andCouponcatGreaterThan(String value) {
            addCriterion("CouponCAT >", value, "couponcat");
            return (Criteria) this;
        }

        public Criteria andCouponcatGreaterThanOrEqualTo(String value) {
            addCriterion("CouponCAT >=", value, "couponcat");
            return (Criteria) this;
        }

        public Criteria andCouponcatLessThan(String value) {
            addCriterion("CouponCAT <", value, "couponcat");
            return (Criteria) this;
        }

        public Criteria andCouponcatLessThanOrEqualTo(String value) {
            addCriterion("CouponCAT <=", value, "couponcat");
            return (Criteria) this;
        }

        public Criteria andCouponcatLike(String value) {
            addCriterion("CouponCAT like", value, "couponcat");
            return (Criteria) this;
        }

        public Criteria andCouponcatNotLike(String value) {
            addCriterion("CouponCAT not like", value, "couponcat");
            return (Criteria) this;
        }

        public Criteria andCouponcatIn(List<String> values) {
            addCriterion("CouponCAT in", values, "couponcat");
            return (Criteria) this;
        }

        public Criteria andCouponcatNotIn(List<String> values) {
            addCriterion("CouponCAT not in", values, "couponcat");
            return (Criteria) this;
        }

        public Criteria andCouponcatBetween(String value1, String value2) {
            addCriterion("CouponCAT between", value1, value2, "couponcat");
            return (Criteria) this;
        }

        public Criteria andCouponcatNotBetween(String value1, String value2) {
            addCriterion("CouponCAT not between", value1, value2, "couponcat");
            return (Criteria) this;
        }

        public Criteria andCouponcatstatusIsNull() {
            addCriterion("CouponCATStatus is null");
            return (Criteria) this;
        }

        public Criteria andCouponcatstatusIsNotNull() {
            addCriterion("CouponCATStatus is not null");
            return (Criteria) this;
        }

        public Criteria andCouponcatstatusEqualTo(Byte value) {
            addCriterion("CouponCATStatus =", value, "couponcatstatus");
            return (Criteria) this;
        }

        public Criteria andCouponcatstatusNotEqualTo(Byte value) {
            addCriterion("CouponCATStatus <>", value, "couponcatstatus");
            return (Criteria) this;
        }

        public Criteria andCouponcatstatusGreaterThan(Byte value) {
            addCriterion("CouponCATStatus >", value, "couponcatstatus");
            return (Criteria) this;
        }

        public Criteria andCouponcatstatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("CouponCATStatus >=", value, "couponcatstatus");
            return (Criteria) this;
        }

        public Criteria andCouponcatstatusLessThan(Byte value) {
            addCriterion("CouponCATStatus <", value, "couponcatstatus");
            return (Criteria) this;
        }

        public Criteria andCouponcatstatusLessThanOrEqualTo(Byte value) {
            addCriterion("CouponCATStatus <=", value, "couponcatstatus");
            return (Criteria) this;
        }

        public Criteria andCouponcatstatusIn(List<Byte> values) {
            addCriterion("CouponCATStatus in", values, "couponcatstatus");
            return (Criteria) this;
        }

        public Criteria andCouponcatstatusNotIn(List<Byte> values) {
            addCriterion("CouponCATStatus not in", values, "couponcatstatus");
            return (Criteria) this;
        }

        public Criteria andCouponcatstatusBetween(Byte value1, Byte value2) {
            addCriterion("CouponCATStatus between", value1, value2, "couponcatstatus");
            return (Criteria) this;
        }

        public Criteria andCouponcatstatusNotBetween(Byte value1, Byte value2) {
            addCriterion("CouponCATStatus not between", value1, value2, "couponcatstatus");
            return (Criteria) this;
        }

        public Criteria andCoupongoodsIsNull() {
            addCriterion("CouponGoods is null");
            return (Criteria) this;
        }

        public Criteria andCoupongoodsIsNotNull() {
            addCriterion("CouponGoods is not null");
            return (Criteria) this;
        }

        public Criteria andCoupongoodsEqualTo(String value) {
            addCriterion("CouponGoods =", value, "coupongoods");
            return (Criteria) this;
        }

        public Criteria andCoupongoodsNotEqualTo(String value) {
            addCriterion("CouponGoods <>", value, "coupongoods");
            return (Criteria) this;
        }

        public Criteria andCoupongoodsGreaterThan(String value) {
            addCriterion("CouponGoods >", value, "coupongoods");
            return (Criteria) this;
        }

        public Criteria andCoupongoodsGreaterThanOrEqualTo(String value) {
            addCriterion("CouponGoods >=", value, "coupongoods");
            return (Criteria) this;
        }

        public Criteria andCoupongoodsLessThan(String value) {
            addCriterion("CouponGoods <", value, "coupongoods");
            return (Criteria) this;
        }

        public Criteria andCoupongoodsLessThanOrEqualTo(String value) {
            addCriterion("CouponGoods <=", value, "coupongoods");
            return (Criteria) this;
        }

        public Criteria andCoupongoodsLike(String value) {
            addCriterion("CouponGoods like", value, "coupongoods");
            return (Criteria) this;
        }

        public Criteria andCoupongoodsNotLike(String value) {
            addCriterion("CouponGoods not like", value, "coupongoods");
            return (Criteria) this;
        }

        public Criteria andCoupongoodsIn(List<String> values) {
            addCriterion("CouponGoods in", values, "coupongoods");
            return (Criteria) this;
        }

        public Criteria andCoupongoodsNotIn(List<String> values) {
            addCriterion("CouponGoods not in", values, "coupongoods");
            return (Criteria) this;
        }

        public Criteria andCoupongoodsBetween(String value1, String value2) {
            addCriterion("CouponGoods between", value1, value2, "coupongoods");
            return (Criteria) this;
        }

        public Criteria andCoupongoodsNotBetween(String value1, String value2) {
            addCriterion("CouponGoods not between", value1, value2, "coupongoods");
            return (Criteria) this;
        }

        public Criteria andDatastatusIsNull() {
            addCriterion("DataStatus is null");
            return (Criteria) this;
        }

        public Criteria andDatastatusIsNotNull() {
            addCriterion("DataStatus is not null");
            return (Criteria) this;
        }

        public Criteria andDatastatusEqualTo(Byte value) {
            addCriterion("DataStatus =", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotEqualTo(Byte value) {
            addCriterion("DataStatus <>", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusGreaterThan(Byte value) {
            addCriterion("DataStatus >", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("DataStatus >=", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusLessThan(Byte value) {
            addCriterion("DataStatus <", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusLessThanOrEqualTo(Byte value) {
            addCriterion("DataStatus <=", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusIn(List<Byte> values) {
            addCriterion("DataStatus in", values, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotIn(List<Byte> values) {
            addCriterion("DataStatus not in", values, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusBetween(Byte value1, Byte value2) {
            addCriterion("DataStatus between", value1, value2, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotBetween(Byte value1, Byte value2) {
            addCriterion("DataStatus not between", value1, value2, "datastatus");
            return (Criteria) this;
        }

        public Criteria andIsopenIsNull() {
            addCriterion("IsOpen is null");
            return (Criteria) this;
        }

        public Criteria andIsopenIsNotNull() {
            addCriterion("IsOpen is not null");
            return (Criteria) this;
        }

        public Criteria andIsopenEqualTo(Byte value) {
            addCriterion("IsOpen =", value, "isopen");
            return (Criteria) this;
        }

        public Criteria andIsopenNotEqualTo(Byte value) {
            addCriterion("IsOpen <>", value, "isopen");
            return (Criteria) this;
        }

        public Criteria andIsopenGreaterThan(Byte value) {
            addCriterion("IsOpen >", value, "isopen");
            return (Criteria) this;
        }

        public Criteria andIsopenGreaterThanOrEqualTo(Byte value) {
            addCriterion("IsOpen >=", value, "isopen");
            return (Criteria) this;
        }

        public Criteria andIsopenLessThan(Byte value) {
            addCriterion("IsOpen <", value, "isopen");
            return (Criteria) this;
        }

        public Criteria andIsopenLessThanOrEqualTo(Byte value) {
            addCriterion("IsOpen <=", value, "isopen");
            return (Criteria) this;
        }

        public Criteria andIsopenIn(List<Byte> values) {
            addCriterion("IsOpen in", values, "isopen");
            return (Criteria) this;
        }

        public Criteria andIsopenNotIn(List<Byte> values) {
            addCriterion("IsOpen not in", values, "isopen");
            return (Criteria) this;
        }

        public Criteria andIsopenBetween(Byte value1, Byte value2) {
            addCriterion("IsOpen between", value1, value2, "isopen");
            return (Criteria) this;
        }

        public Criteria andIsopenNotBetween(Byte value1, Byte value2) {
            addCriterion("IsOpen not between", value1, value2, "isopen");
            return (Criteria) this;
        }

        public Criteria andIschoiceIsNull() {
            addCriterion("IsChoice is null");
            return (Criteria) this;
        }

        public Criteria andIschoiceIsNotNull() {
            addCriterion("IsChoice is not null");
            return (Criteria) this;
        }

        public Criteria andIschoiceEqualTo(Byte value) {
            addCriterion("IsChoice =", value, "ischoice");
            return (Criteria) this;
        }

        public Criteria andIschoiceNotEqualTo(Byte value) {
            addCriterion("IsChoice <>", value, "ischoice");
            return (Criteria) this;
        }

        public Criteria andIschoiceGreaterThan(Byte value) {
            addCriterion("IsChoice >", value, "ischoice");
            return (Criteria) this;
        }

        public Criteria andIschoiceGreaterThanOrEqualTo(Byte value) {
            addCriterion("IsChoice >=", value, "ischoice");
            return (Criteria) this;
        }

        public Criteria andIschoiceLessThan(Byte value) {
            addCriterion("IsChoice <", value, "ischoice");
            return (Criteria) this;
        }

        public Criteria andIschoiceLessThanOrEqualTo(Byte value) {
            addCriterion("IsChoice <=", value, "ischoice");
            return (Criteria) this;
        }

        public Criteria andIschoiceIn(List<Byte> values) {
            addCriterion("IsChoice in", values, "ischoice");
            return (Criteria) this;
        }

        public Criteria andIschoiceNotIn(List<Byte> values) {
            addCriterion("IsChoice not in", values, "ischoice");
            return (Criteria) this;
        }

        public Criteria andIschoiceBetween(Byte value1, Byte value2) {
            addCriterion("IsChoice between", value1, value2, "ischoice");
            return (Criteria) this;
        }

        public Criteria andIschoiceNotBetween(Byte value1, Byte value2) {
            addCriterion("IsChoice not between", value1, value2, "ischoice");
            return (Criteria) this;
        }

        public Criteria andRespondtimeIsNull() {
            addCriterion("RespondTime is null");
            return (Criteria) this;
        }

        public Criteria andRespondtimeIsNotNull() {
            addCriterion("RespondTime is not null");
            return (Criteria) this;
        }

        public Criteria andRespondtimeEqualTo(Date value) {
            addCriterion("RespondTime =", value, "respondtime");
            return (Criteria) this;
        }

        public Criteria andRespondtimeNotEqualTo(Date value) {
            addCriterion("RespondTime <>", value, "respondtime");
            return (Criteria) this;
        }

        public Criteria andRespondtimeGreaterThan(Date value) {
            addCriterion("RespondTime >", value, "respondtime");
            return (Criteria) this;
        }

        public Criteria andRespondtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("RespondTime >=", value, "respondtime");
            return (Criteria) this;
        }

        public Criteria andRespondtimeLessThan(Date value) {
            addCriterion("RespondTime <", value, "respondtime");
            return (Criteria) this;
        }

        public Criteria andRespondtimeLessThanOrEqualTo(Date value) {
            addCriterion("RespondTime <=", value, "respondtime");
            return (Criteria) this;
        }

        public Criteria andRespondtimeIn(List<Date> values) {
            addCriterion("RespondTime in", values, "respondtime");
            return (Criteria) this;
        }

        public Criteria andRespondtimeNotIn(List<Date> values) {
            addCriterion("RespondTime not in", values, "respondtime");
            return (Criteria) this;
        }

        public Criteria andRespondtimeBetween(Date value1, Date value2) {
            addCriterion("RespondTime between", value1, value2, "respondtime");
            return (Criteria) this;
        }

        public Criteria andRespondtimeNotBetween(Date value1, Date value2) {
            addCriterion("RespondTime not between", value1, value2, "respondtime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}